package com.hanamaki.DataStruct;

import java.util.ArrayList;

/**
 * @author hanamaki
 * @version 1.0
 * @date 2021/6/28 16:31
 */
public class ArrayListVoTest {

    public static void main(String[] args) {

        ArrayList<User> lists = new ArrayList<>();

        User zs = new User("zs", "123456");
        User ls = new User("ls", "123456");
        User ww = new User("ww", "123456");
        User zl = new User("zl", "123456");
        User xh = new User("xh", "123456");

        lists.add(zs);
        lists.add(ls);
        lists.add(ww);
        lists.add(zl);
        lists.add(xh);
        System.out.println(lists);
    }
}
